import Mock from 'mockjs';
export function login(){
  return{
    url:'/api/login',
    type:'get',
    data:{
      "msg": "登录成功",
      "code": 200,
      "token": Mock.Random.string('qwertyuiopasdfghjklzxcvbnm0123456789',32)
    }
  }
}
export function logout(){
  return{
    url:'/api/logout',
    type:'get',
    data:{
      "msg":"退出成功",
      "code":200
    }
  }
}
